import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { User } from '../user/user.entity';
import { UserService } from '../user/user.service';
import { AnswerController } from './answer.controller';
import { Answer } from './answer.entity';
import { AnswerService } from './answer.service';
import { PlatformService } from '../platform/platform.service';
import { Platform } from '../platform/platform.entity';
import { TraceRelaTable } from '../traceRelaTable/traceRelaTable.entity';
import { WxUser } from '../wxUser/wxUser.entity';
import { WxUserService } from '../wxUser/wxUser.service';
import { AnswerInfo } from '../answerInfo/answerInfo.entity';
import { AnswerInfoService } from '../answerInfo/answerInfo.service';
import { Video } from '../video/video.entity';
import { Notices } from '../notices/notices.entity';
import { LikeVideo } from '../likeVideo/likeVideo.entity';
import { MultiImg } from '../multiImg/multiImg.entity';
import { Reward } from '../reward/reward.entity';
import { Profit } from '../profit/profit.entity';
import { UserSetting } from '../userSetting/userSetting.entity';
import { InternetCelebrityGroup } from '../internetCelebrityGroup/internetCelebrityGroup.entity';
import { InternetCelebrity } from '../internetCelebrity/internetCelebrity.entity';
import { WxUserOpenId } from '../wxUserOpenId/wxUserOpenId.entity';
import { UnConcern } from '../unconcern/unconcern.entity';
import { Questions } from '../questions/questions.entity';
import { RewardSuccess } from '../rewardSuccess/rewardSuccess.entity';
import { AnswerIdCard } from '../answerIdCard/answerIdCard.entity';
import { AnswerControllerManager } from './answer.controller.manager';
import { AnswerServiceManager } from './answer.service.manager';
import { InternetCelebrityGroupCheck } from '../internetCelebrityGroupCheck/internetCelebrityGroupCheck.entity';
import { RejectReason } from '../rejectReason/rejectReason.entity';
import { Setting } from '../setting/setting.entity';

@Module({
  imports: [TypeOrmModule.forFeature([Answer, User, Platform, TraceRelaTable, WxUser, AnswerInfo, Video, Notices, LikeVideo, MultiImg, Reward, 
    Profit, UserSetting, InternetCelebrityGroup, InternetCelebrity, WxUserOpenId, UnConcern, Questions, RewardSuccess, AnswerIdCard, InternetCelebrityGroupCheck,
    RejectReason, WxUser, Setting])],
  controllers: [AnswerController, AnswerControllerManager],
  providers: [AnswerService, UserService, PlatformService, WxUserService, AnswerInfoService, AnswerServiceManager],
})
export class AnswerModule {}
